Method: Pod::Version#<=
- Defined in:
- lib/cocoapods-core/version.rb
permalink #<=(other) ⇒ Boolean
Note:
Attempts to compare something that’s not a Pod::Version return nil
Compares the versions for equality.
175 176 177 178 |
# File 'lib/cocoapods-core/version.rb', line 175 def <=(other) comparison = compare_segments(other) comparison <= 0 end |